---
title: 'Examples'
description: 'Sample code that you can run!'
mode: "wide"
---

## Explore our example code to see AgentOps in action!

### Agent Examples

<CardGroup cols={2}>
  <Card title="Simple Agent" icon="microchip-ai" iconType="solid" href="/v1/examples/simple_agent">
    Jupyter Notebook with sample code that you can run! Start here!
  </Card>

  <Card title="Multi-Agent" icon="people-arrows" iconType="duotone" href="/v1/examples/multi_agent">
    Jupyter Notebook with a simple multi-agent design
  </Card>

  <Card title="Concurrent Traces" icon="computer" href="/v1/examples/multi_session">
    Manage multiple concurrent traces and sessions
  </Card>

  <Card title="OpenAI Assistants" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/openai/openai-logomark.png?raw=true" alt="OpenAI Assistants" />} iconType="image" href="/v1/integrations/openai" href="/v1/examples/openai_assistants">
    Observe OpenAI Assistants
  </Card>
</CardGroup>

### Integration Examples

<CardGroup cols={2}>
  <Card title="AI21" icon="brain" href="/v1/integrations/ai21">
    Integration with AI21's language models
  </Card>

  <Card title="Anthropic" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/anthropic/anthropic_icon_slate.png?raw=true" alt="Anthropic" />} iconType="image" href="/v1/integrations/anthropic">
    Track observations from Claude, Haiku and Sonnet series of models
  </Card>

  <Card title="AG2" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/autogen/ag2.svg?raw=true" alt="AG2"/>} iconType="image" href="/v1/integrations/autogen">
    AG2 (Formerly AutoGen) multi-agent conversible workflow with tool usage
  </Card>

  <Card title="CamelAI" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/camel/camel.png?raw=true" alt="CamelAI" />} iconType="image" href="/v1/examples/camel">
    Track and analyze CAMEL agents
  </Card>

  <Card title="Cohere" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/cohere/cohere-logo.svg?raw=true" alt="Cohere" />} iconType="image" href="/v1/integrations/cohere">
    First class support for Command-R-Plus and chat streaming
  </Card>

  <Card title="Crew.ai" icon="ship" href="/v1/integrations/crewai">
    CrewAI multi-agent framework with AgentOps support
  </Card>

  <Card title="Groq" icon="bolt" href="/v1/integrations/groq">
    Ultra-fast LLM inference with Groq Cloud
  </Card>

  <Card title="Gemini" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/deepmind/gemini-logo.png?raw=true" alt="Gemini" />} iconType="image" href="/v1/integrations/gemini">
    Explore Google DeepMind's Gemini with observation via AgentOps
  </Card>

  <Card title="Haystack" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/haystack/haystack-logo.png?raw=true" alt="Haystack" />} iconType="image" href="/v1/integrations/haystack">
    Monitor your Haystack agents with AgentOps
  </Card>

  <Card title="LangChain" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/langchain/langchain-logo.svg?raw=true" alt="LangChain" />} iconType="image" href="/v1/examples/langchain">
    Jupyter Notebook with a sample LangChain integration
  </Card>

  <Card title="Llama Stack" icon="pancakes" href="/v1/integrations/llama_stack">
    Create an agent to search the web using Brave Search and find the winner of NBA western conference semifinals 2014
  </Card>

  <Card title="LiteLLM" icon="train-tram" href="/v1/integrations/litellm">
    Unified interface for multiple LLM providers
  </Card>

  <Card title="Mistral" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/mistral/mistral-ai-icon.png?raw=true" alt="Mistral" />} iconType="image" href="/v1/integrations/mistral">
    Support for Mistral AI's open-weight models
  </Card>

  <Card title="MultiOn" icon="atom" href="/v1/examples/multion">
    Create an autonomous browser agent capable of navigating the web and extracting information
  </Card>

  <Card title="Ollama" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/ollama/ollama-icon.png?raw=true" alt="Ollama" />} iconType="image" href="/v1/examples/ollama">
    Simple Ollama integration with AgentOps
  </Card>

  <Card title="OpenAI" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/openai/openai-logomark.png?raw=true" alt="OpenAI" />} iconType="image" href="/v1/integrations/openai">
    First class support for GPT family of models
  </Card>

  <Card title="REST API" icon="bolt-lightning" href="/v1/examples/restapi">
    Create a REST server that performs and observes agent tasks
  </Card>

  <Card title="smolagents" icon={<img src="https://github.com/AgentOps-AI/agentops/blob/main/docs/images/external/huggingface/hf-logo.png?raw=true" alt="smolagents" />} iconType="image" iconType="solid" href="/v1/integrations/smolagents">
    Track HuggingFace's smolagents with AgentOps seamlessly
  </Card>

  <Card title="SwarmZero" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/swarmzero/swarmzero_logo.png?raw=true" alt="SwarmZero" />} iconType="image" href="/v1/integrations/swarmzero">
    SwarmZero multi-agent framework for AI Agents and AI Swarms with AgentOps support
  </Card>

  <Card title="TaskWeaver" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/microsoft/microsoft_logo.svg?raw=true" alt="TaskWeaver" />} iconType="image" href="/v1/integrations/taskweaver">
    First class support for Microsoft TaskWeaver
  </Card>

  <Card title="xAI" icon={<img src="https://www.github.com/agentops-ai/agentops/blob/main/docs/images/external/xai/xai-logo.png?raw=true" alt="xAI" />} iconType="image" href="/v1/integrations/xai">
    Observe the power of Grok and Grok Vision with AgentOps
  </Card>
</CardGroup>

## Video Guides

<CardGroup cols={2}>

  <Card title="AgentOps x CrewAI" icon="film" iconType="solid">
    Learn how to monitor CrewAI applications with AgentOps
    <iframe
      width="280"
      height="158"
      src="https://www.youtube.com/embed/sF_bgRuRa3s"
      title="YouTube video player"
      frameborder="0"
      allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
      allowfullscreen
    ></iframe>
  </Card>

  <Card title="AgentOps x Anthropic" icon="film" iconType="solid">
    Learn how to monitor applications that use the Anthropic SDK directly with AgentOps
    <iframe
      width="280"
      height="158"
      src="https://www.youtube.com/embed/Yx2Crpbms7I"
      title="YouTube video player"
      frameborder="0"
      allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
      allowfullscreen
    ></iframe>
  </Card>

  <Card title="AgentOps x OpenAI" icon="film" iconType="solid">
    Learn how to monitor applications that use the OpenAI SDK directly with AgentOps
    <iframe
      width="280"
      height="158"
      src="https://www.youtube.com/embed/R0K9Qi2dBwM"
      title="YouTube video player"
      frameborder="0"
      allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
      allowfullscreen
    ></iframe>
  </Card>

  <Card title="AgentOps x Llama Stack" icon="film" iconType="solid">
    Learn how to monitor Llama Stack applications that use the llama-stack-client-python SDK with AgentOps
    <iframe
      width="280"
      height="158"
      src="https://www.youtube.com/embed/OZgTN4SdQ2Y"
      title="YouTube video player"
      frameBorder="0"
      allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
      allowFullScreen
    ></iframe>
  </Card>

  <Card title="Simple Agent" icon="person-carry-box" iconType="solid" href="https://www.loom.com/share/0e0d2986f3d644a58d1e186dc81cd8b1">
    Add AgentOps to a simple chat completion
    ![thumbnail](https://cdn.loom.com/sessions/thumbnails/0e0d2986f3d644a58d1e186dc81cd8b1-with-play.gif)
  </Card>

  <Card title="Multi-Agent" icon="people-arrows" iconType="duotone" href="https://www.loom.com/share/2a62fd70efe8423fb495946b09c2d8ac">
    Jupyter Notebook with a sample LangChain integration
    ![thumbnail](https://cdn.loom.com/sessions/thumbnails/2a62fd70efe8423fb495946b09c2d8ac-with-play.gif)
  </Card>

  <Card title="Crew.ai" icon="ship" href="https://www.loom.com/share/cfcaaef8d4a14cc7a974843bda1076bf">
    CrewAI multi-agent framework with AgentOps support
    ![thumbnail](https://cdn.loom.com/sessions/thumbnails/cfcaaef8d4a14cc7a974843bda1076bf-1713568618224-with-play.gif)
  </Card>

  <Card title="Cohere" icon="hill-rockslide" href="https://www.loom.com/share/679d65cc06f148299e8dffc459d053ab">
    First class support for Command-R-Plus
    ![thumbnail](https://cdn.loom.com/sessions/thumbnails/679d65cc06f148299e8dffc459d053ab-with-play.gif)
  </Card>
</CardGroup>

<script type="module" src="/scripts/github_stars.js" />

<script type="module" src="/scripts/scroll-img-fadein-animation.js" />

<script type="module" src="/scripts/button_heartbeat_animation.js" />

<script type="module" src="/scripts/adjust_api_dynamically.js" />
